'use strict';

module.exports = appInfo => {
  const config = {};

  /**
   * some description
   * @member Config#test
   * @property {String} key - some description
   */
  config.test = {
    key: appInfo.name + '_123456',
  };

  // config.redis = {
  //   client: {
  //     port: 6379, // Redis port
  //     host: 'yc-server.redis.rds.aliyuncs.com', // Redis host
  //     password: 'wYe47NbTA50d1XYv',
  //     db: 1,
  //   },

  // };

  config.redis = {
    client: {
      port: '6379', // Redis port
      host: '192.168.1.82', // Redis host
      db: 1,
      password: '',
    },
  };
  return config;
};
